<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>班级管理</title>
    <%@include file="../../../static/common/common.jsp" %>
    <script src="/static/js/classRoom.js"></script>
</head>
<!--非常关键-->
<jsp:include page="/static/style/loader.jsp"></jsp:include>
<body>
<table id="clz_datagrid"></table>
<div id="clz_btns">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="del">删除</a>
    <a id="changeState_btn" class="easyui-linkbutton" data-options="iconCls:'icon-mini-delete',plain:true"
       data-cmd="changeState">未开班</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>
<div id="save_btns">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>
<div id="clz_dialog">
    <form id="clz_form" method="post">
        <input id="clzId" type="hidden" name="id">
        <table align="center" style="margin-top: 15px" cellspacing="10">
            <tr>
                <td>班级名称:</td>
                <td><input class="easyui-textbox" name="className" prompt="请输入班级名称"
                ></td>
            </tr>
            <tr>
                <td>学生数量:</td>
                <td><input class="easyui-textbox" name="studentAmount"></td>
            </tr>
            <tr>
                <td>所属学院:</td>
                <td><input class="easyui-combobox" name="college.id"
                           data-options="url:'/school/selectAll.do',valueField:'id',textField:'school',panelHeight:'auto'">
                </td>
            </tr>
            <tr>
                <td>所在教室:</td>
                <td><input class="easyui-combobox" name="locationClass.id"
                           data-options="url:'/locationClass/selectAll.do',valueField:'id',textField:'name',panelHeight:'auto'">
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
